<template>
	<view>
		<u-navbar title="专利预警" @leftClick="leftClick" :autoback="true"></u-navbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			leftClick(){
				if (getCurrentPages().length > 1) {
					uni.navigateBack();
				} else {
					uni.switchTab({
						url: '../../pages/index/index'
					})
				}
			},
		}
	}
</script>

<style lang="scss">

</style>
